# -*- coding: utf-8 -*-


import sys
from PyQt5.QtWidgets import QApplication, QWidget


if __name__ == "__main__":
    # 创建程序应用对象
    app = QApplication(sys.argv)
    w = QWidget()
    w.resize(500,300)
    w.move(150,150)
    w.setWindowTitle("hello word")
    w.show()

    sys.exit(app.exec_())